home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / Papers / C++ Exceptions / µShell / Core Utilities / CodeWarriorSucks.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-26  |  514 b   |  20 lines  |  [TEXT/CWIE]

  1. #ifndef __CODEWARRIORSUCKS__
  2. #define __CODEWARRIORSUCKS__
  3. #pragma once
  4.  
  5. /*
  6.  
  7.     This file has constants to work around various CodeWarrior
  8.     code generation stupidities, so they can get be disabled
  9.     if the compiler ever gets files
  10.  
  11. */
  12.  
  13. #define qCodewarriorCantInlineConstructors        1
  14. #define qCodewarriorCantInlineDestructors        1
  15.  
  16. // CW generates crappy code for inline consturctors for classes with
  17. // a virtual ancetor.  If set, out-of-line first constructor after
  18. // virtual inheritance
  19.  
  20. #endif // __CODEWARRIORSUCKS__